//资产状态
const assetsStatus = [
  {
    id: -1,
    name: '全部',
    langKey: 'statusData.all',
  },
  {
    id: 0,
    name: '闲置在库',
    langKey: 'statusData.idle',
  },
  {
    id: 1,
    name: '使用中',
    langKey: 'statusData.using',
  },
  {
    id: 2,
    name: '维修中',
    langKey: 'statusData.fixing',
  },
  {
    id: 3,
    name: '已借出',
    langKey: 'statusData.borrowed',
  },
  {
    id: 4,
    name: '盘点中',
    langKey: 'statusData.inventorying',
  },
  {
    id: 99,
    name: '已处置',
    langKey: 'statusData.dsposed',
  },
]

//单据状态,领用-退还
const documentStatus = [
  {
    id: -1,
    name: '全部',
  },
  {
    id: 0,
    name: '已作废',
  },
  {
    id: 1,
    name: '未申请',
  },
  {
    id: 2,
    name: '已申请',
  },
  {
    id: 3,
    name: '已撤销',
  },
  {
    id: 4,
    name: '已驳回',
  },
  {
    id: 5,
    name: '已审批',
  },
]
//维修的状态,非单据
// 1待审核 2 维修中 3 已部分返回 4 已全部返回
const repairStatus = [
  { id: -1, name: '全部' },
  {
    id: 0,
    name: '已作废',
  },
  {
    id: 1,
    name: '待审核',
  },
  {
    id: 2,
    name: '维修中',
  },
  {
    id: 3,
    name: '已部分返回',
  },
  {
    id: 4,
    name: '已全部返回',
  },
]

//新的审批状态
const approvalStatus = [
  {
    id: -1,
    name: '全部',
  },
  {
    id: 0,
    name: '未申请',
  },
  {
    id: 1,
    name: '已审批',
  },
  {
    id: 2,
    name: '已撤销',
  },
  {
    id: 3,
    name: '已驳回',
  },
]

//我的申请----审批状态
// 1 申请中  2 已通过 3 已驳回 4 已撤销 0 待审批
const myAplicationStatus = [
  {
    id: -1,
    name: '全部',
  },
  {
    id: 0,
    name: '待审批',
  },
  {
    id: 1,
    name: '申请中',
  },

  {
    id: 2,
    name: '已通过',
  },
  {
    id: 3,
    name: '已驳回',
  },
  {
    id: 4,
    name: '已撤销',
  },
]
const approvalStatusByMyself = [
  {
    id: -1,
    name: '全部',
  },
  {
    id: 0,
    name: '待审批',
  },
  {
    id: 1,
    name: '审批中',
  },
  {
    id: 2,
    name: '通过',
  },
  {
    id: 3,
    name: '驳回',
  },
]
//盘点单--单据状态
const InventoryCheckStatus = [
  {
    id: -1,
    name: '全部',
  },
  {
    id: 0,
    name: '盘点中',
  },
  {
    id: 1,
    name: '已完成',
  },
  {
    id: 2,
    name: '已作废',
  },
]

//盘点资产的状态
const InventoryAssetsStatus = [
  {
    id: -1,
    name: '全部',
  },
  {
    id: 0,
    name: '未处理',
  },
  {
    id: 1,
    name: '已盘点',
  },
]

export {
  assetsStatus,
  documentStatus,
  repairStatus,
  approvalStatus,
  myAplicationStatus,
  approvalStatusByMyself,
  InventoryCheckStatus,
  InventoryAssetsStatus,
}
